#ifndef TABMENU_HPP
#define TABMENU_HPP
#include <QSignalMapper>

class TabMenu
	:public QMenu
{
	Q_OBJECT
public:
	TabMenu(TerminalWindow *window);
	~TabMenu();
	
protected slots:
	void fillMenu();
	
protected:
	void deleteTabSwitchActions();
	
	TerminalWindow *window;
	
	QAction *createTabAct;
	QAction *nextTabAct;
	QAction *prevTabAct;
	QAction *lastTabAct;
	
	QSignalMapper *mapper;
	vector<QAction*> tabSwitchActions;
};

#endif
